home *** CD-ROM | disk | FTP | other *** search
/ The Arcade BBS / arcadebbs.zip / arcadebbs / bbstools / WWIV Mods / WWIVMOD.ZIP / PARA0005.MOD < prev    next >
Encoding:
Text File  |  1994-01-06  |  4.0 KB  |  95 lines

  1. Parapuke #1 @8251
  2. Fri Dec 10 22:35:52 1993
  3. 0R: net33: @4076 (via @4061) [04:27 12/13/93]
  4. 0R: net33: @4050 (via @4064) [03:51 12/13/93]
  5. 0R: net33: @4064 (via @1040) [02:08 12/13/93]
  6. 0R: net33: @1040 (via @2050) [15:27 12/12/93]
  7. 0R: net34: @2050 [13:23 12/12/93]
  8. 0R: net34: @2050 (via @1040) [10:08 12/12/93]
  9. 0R: net33: @1040 (via @8251) [10:38 12/12/93]
  10. 0R: net33: @8251 [22:53 12/10/93]
  11. ┌────────────────────────────────────────────────────────────────────────────┐
  12. │ Mod Name: Para0005.Mod      Mod Author: Parapuke, 1@18251 WWIVLink         │
  13. │ Difficulty: 2 of 10               Date: 12/10/1993                         │
  14. │ WWIV Version: WWIV v4.23                                                   │
  15. │ Files Affected: Lilo.C  BBS.Str (english.str)                              │
  16. │ Description: Changes last few callers prompt on logon.                     │
  17. │                                                                            │
  18. └────────────────────────────────────────────────────────────────────────────┘
  19.  
  20. Extended Description:  One of the things that I didn't like about Wayne Bell's
  21.                        stock 4.23 was the way the last few callers were
  22.                        displayed.  It didn't give me enough information on the
  23.                        user to fit my taste.  I would much rather see where a
  24.                        user is calling from than what speed they were calling
  25.                        at.  Therefore, I changed the code to show the
  26.                        following information [see example].  So I changed the
  27.                        code.
  28.  
  29. and here is the example;
  30.  
  31. 1Last few callers0
  32.  
  33. 2Call#  Handle                  City               ST  Lang    Time   Date  ##0
  34. ═══════════════════════════════════════════════════════════════════════════════
  35. 110217  Guestsys #33            Terre Haute        IN English  14:21  12/06  50
  36. 110218  Willie Bill #14         Montreal           QE French   14:21  12/06  20
  37. 110219  The Penguin #5          Terre Haute        IN English  09:28  12/09  10
  38. 110220  Tai Pan #115            San Fernando       CA English  10:11  12/09  10
  39. 110221  Random #69              San Diego          CA Spanish  12:02  12/09  10
  40. 110222  Parapuke #19            Terre Haute        IN English  01:20  12/10  10
  41. 110223  Och Der Leibien #3      Rochchester        MN German   15:39  12/10  10
  42. 110224  Mark Martin #6          St. Louis          MO English  16:28  12/10  10
  43.  
  44.  
  45.  
  46. = = existing code
  47. + = changed or new code
  48.  
  49.  
  50. BACK UP YOUR SOURCE CODE!!!!!
  51.  
  52. Load Lilo.C into your compiler/editor
  53.  
  54. In void logon(void) search for     pl(get_string(972));
  55.  
  56. and about 6100 lines below that, you will find the code area to change.
  57. Probably the easiest way, rather than finding where I have made changes is to
  58. cut everything out between the marked existing code (=) and drop the new code
  59. (+) in place.
  60.  
  61. =  if ((actsl!=255) || (incom)) {
  62. =    sl1(0,"");
  63. =    sl1(0,stripcolors(s));
  64. =    sl1(1,"");
  65. +    sprintf(s,"1%-6ld %-23.23s %-18.18s %2.2s %-8.8s %-5.5s  %-5.5s %2d\r\n",0
  66. +      status.callernum1,
  67. +      nam(&thisuser,usernum),
  68. +      thisuser.city,
  69. +      thisuser.state,
  70. +      cur_lang_name,
  71. +      times(),
  72. +      date(),
  73. +      thisuser.ontoday);
  74. =    sprintf(s1,"%sUSER.LOG",syscfg.gfilesdir);
  75. =    f=sh_open(s1,O_RDWR | O_BINARY | O_CREAT, S_IREAD | S_IWRITE);
  76. =    sh_lseek(f,0L,SEEK_END);
  77.  
  78.  
  79. Save Lilo.C and get out of your compiler/editor.
  80.  
  81. Compile your source or wait until you finish the next part, either/or.
  82.  
  83. Next, go to the gfiles directory and use ESM ((c) tolklien) and edit BBS.Str
  84. to get your new header.  I will include it here with . to make it easier to
  85. count spaces.  Find string 972.  This is the header for the laston.txt.  Edit
  86. it to the following...
  87.  
  88. 2Call#..Handle..................City...............ST..Lang....Time...Date..##0
  89.  
  90. Save it and have a good time.  Send me a piece of mail if you would like to
  91. boost my ego a little larger (grin).
  92.  
  93. Parapuke  1@18251 WWIVLink
  94.           1@8251  Most every other network.
  95.